package com.guojiaming.interview.second.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.guojiaming.interview.R;

import java.util.List;

public class PlayerDataAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public PlayerDataAdapter(int layoutResId, List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder holder, String s) {
        holder.setText(R.id.tv_info, s);
    }
}
